home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / sil2.zip / SIL2.DOC < prev   
Text File  |  1985-10-14  |  14KB  |  395 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.                                     Silence
  19.  
  20.                                   Version 2.0
  21.                        Copywrite (c) 1985 by Carl Burtner
  22.  
  23.                      This Program Is In The Public Domain.
  24.               Users are encouraged to make as many copies as they
  25.               like and to distribute them to whomever they choose.
  26.  
  27.  
  28.                Under No Circumstances Is This Program To Be Sold.
  29.  
  30.  
  31.            If you have problems, questions, suggestions, or desire a
  32.                     copy of this programs assembler listing,
  33.                                please contact me.
  34.  
  35.                                   Carl Burtner
  36.                                 435 Brandon Road
  37.                             Rochester, N.Y.   14622
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.           Silence                                          Version 2.0
  72.  
  73.  
  74.           Silence is dedicated to keeping your PC quiet.  Most program
  75.           sounds will be eliminated entirely or reduced to a series of
  76.           clicks.  Some sound effects which use short duration tones
  77.           or turn the PC's interrupts off may not be silenced.
  78.  
  79.  
  80.                                  Compatibility
  81.  
  82.           Silence should be compatible with most programs and IBM-PC
  83.           compatible computers.  Silence 2.0 has some advanced options
  84.           which can enhance its ability to silence some previously
  85.           unsilenceable sounds.  These options may not be compatible
  86.           with all programs.  Incompatibility generally makes itself
  87.           evident by greatly slowing down the program.  When in doubt,
  88.           Silences default settings have never been observed to cause
  89.           problems.
  90.  
  91.  
  92.                                 Display Adapters
  93.  
  94.           To speed things up, Silence 2.0 uses direct writes to the
  95.           screen buffer for displaying the function access screen and
  96.           the copywrite notice.  To do this, Silence does its best to
  97.           determine the type of display adapter installed.  It is
  98.           possible that a non-standard adapter could fool Silence into
  99.           making a wrong assumption.  If this happens the display will
  100.           most likely remain blank.  To force Silence to ignore its
  101.           determination and use either the color or mono display
  102.           adapter enter the command "Sil2 c" for the color adapter or
  103.           "Sil2 m" for the mono adapter.
  104.  
  105.  
  106.                                   Installation
  107.  
  108.           Silence is a resident program.  Once installed, Silence
  109.           remains in the computers memory until it is turned off or
  110.           rebooted.  To install Silence just type the name of the
  111.           program (Sil2) and hit the return key.  Silence will
  112.           initialize and display a function access screen which allows
  113.           the setting of several options.  If you don't wish to change
  114.           any options either hit the escape key once or hit the return
  115.           key several times to tab to the end of the screen.  If you
  116.           wish you can install Silence without being presented with
  117.           the function access screen.  To do this enter "Sil2 d" (the
  118.           d stands for default) without the quotes.
  119.  
  120.           Silence's options may be changed at any time either by
  121.           entering one of the commands described below or by entering
  122.           Sil2 to use the function access screen.  However, because
  123.           Silence is a resident program it is possible that another
  124.           resident program installed after Silence may make it
  125.           impossible to change Silence's settings.  If this should
  126.           happen Silence will inform you.  To correct the problem try
  127.  
  128.  
  129.                                        -1-
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.           Silence                                          Version 2.0
  138.  
  139.  
  140.           rebooting and installing Silence after any other resident
  141.           program being used.
  142.  
  143.  
  144.                                     Commands
  145.  
  146.           Silence 2.0 supports the same commands as Silence 1.0.
  147.           These are:
  148.  
  149.  
  150.           Sil2 on      - Turns Silence on.  Program sounds will no
  151.                          longer be heard.  Error messages are returned
  152.                          if Silence has not been installed or if
  153.                          changing the setting is not possible.
  154.  
  155.  
  156.           Sil2 off     - Turns Silence off.  Program sounds will now be
  157.                          heard.  Error messages are returned if
  158.                          SILENCE has not been installed or if changing
  159.                          the setting is not possible.
  160.  
  161.           In addition, Silence 2.0 adds the following commands:
  162.  
  163.           Sil2 d       - Installs Silence without displaying the
  164.                          function access screen.
  165.  
  166.  
  167.           Sil2 c       - Installs Silence and/or displays the function
  168.                          access screen assuming that the color display
  169.                          adapter is installed
  170.  
  171.  
  172.           Sil2 m       - Installs Silence and/or displays the function
  173.                          access screen assuming that the monochrome
  174.                          display adapter is installed.
  175.  
  176.  
  177.           Only one command may be entered at a time.
  178.  
  179.  
  180.                               Theory of Operation
  181.  
  182.           System Clock
  183.  
  184.           The IBM PC has a system clock that "ticks" 18.2 times a
  185.           second.  Every time the clock ticks an interrupt is
  186.           generated.  The interrupt causes the computer to stop
  187.           whatever it is doing and execute a short program stored at a
  188.           previously defined location in memory.  The normal program
  189.           called at every clock tick updates the time of day and turns
  190.           off disk drive motors that have run too long.  After
  191.           completing its task, the interrupt routine returns the
  192.  
  193.  
  194.  
  195.                                        -2-
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.           Silence                                          Version 2.0
  204.  
  205.  
  206.           computer to doing exactly what it was doing before the
  207.           interrupt.
  208.  
  209.           Sound Generation
  210.  
  211.           Sound in the IBM PC is generated by a timer.  The timer is
  212.           loaded by a program with the desired frequency (pitch) and
  213.           begins to run.  The timers output tone goes to a gate
  214.           controlled by the computer.  The gate is connected to the
  215.           speaker and allows the tone supplied by the timer to be
  216.           turned on and off.
  217.  
  218.           Silence
  219.  
  220.           Silence operates by taking over the interrupt generated by
  221.           the system clock.  Every time the clock ticks, Silence is
  222.           called instead of the normal time of day routine.  Once
  223.           called, Silence turns off the gate to the speaker and sets
  224.           up the timer so that it produces a click instead of a tone.
  225.           After this, Silence passes control to the normal clock tick
  226.           routine so that the time of day and disk drives will operate
  227.           normally.  In this way, when a program produces a tone, the
  228.           tone will be turned off after 1/18.2 of a second and the
  229.           timer will only produce a click.  It is possible for a
  230.           program to set the computer to ignore the system clock tick.
  231.           When a program does this, Silence is temporarily disabled
  232.           and cannot turn off the sound.
  233.  
  234.           This summary has only covered Silence's basic operation.
  235.           Silence's advanced options such as Burst Delay and
  236.           Acceleration alter certain aspects of the way Silence works
  237.           to provide the user with greater silencing power.  These
  238.           options are described more fully below.
  239.  
  240.  
  241.                                     Options
  242.  
  243.           There are several options that may only be changed by using
  244.           the function access screen.  To display these options enter
  245.           Sil2 (or "Sil2 c" or "Sil2 m" if your adapter